const db = require("./db");

const adminSchema = new db.Schema({
    "adminId":{type:String},
    "adminName":{type:String},
    "passWord":{type:String},
    "power":{type:Number},    // 0超级管理员，1管理员
    lastTime:{type:Number},     // 最后登录时间
    avatar:{type:String},
    ip:{type:String}
})

module.exports = db.model("admin", adminSchema);
